package com.second.app.designpattern.decorator;

import java.math.BigDecimal;

/**
 * @Author GYZ
 * @Date 2023/11/8
 * <pre>
 *
 * </pre>
 */
public abstract class CalculateAmount {


    public abstract BigDecimal calServiceFee();


    public BigDecimal calServiceFee(BigDecimal value){
        return new BigDecimal(100).add(value);
    }


    public boolean markSupported() {
        return false;
    }


}
